package com.mpyy.service.purchase;

import com.mpyy.dao.purchase.UpdateProUnitDaoInter;
import com.mpyy.pojo.ProductUnit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @version 1.0
 * @Descoription UpdateProUnitServiceImpl
 * @Author CG
 * @date 2022-03-23
 */
@Service(value ="updateProUnitServiceImpl" )
public class UpdateProUnitServiceImpl implements UpdateProUnitServiceInter {
    @Autowired
    @Qualifier(value = "updateProUnitDaoInter")
   private UpdateProUnitDaoInter unitDaoInter;

    @Override
    public int updateProUnit(ProductUnit productUnit) {

        return unitDaoInter.updateProUnit(productUnit);
    }
}
